<div class="subcr info">
<h3>Users shared with:</h3>
<ul id="task-users">
</ul>
<form action="{{=url_for('doto.views.doto_adduser', id=item.id)}}" id="task-adduser">
<span>Share to:</span>
{{<< form.userid}}
<span><input type="submit" value="Add"/></span>
</form>
</div>
<script type="text/javascript">
window.addEvent('domready',function(){
    get_users("{{=url_for('doto.views.doto_get_users', id=item.id)}}");
    add_user($('task-adduser'));
});
</script>
